-module(pt_jinhua_card_info_d203).
-include("pt.hrl").

-export([new/0,from_binary/1,to_binary/1,to_binary/2,get_id/0]).

get_id()-> 16#D203.

new()->#pt_jinhua_card_info{}.

from_binary(Binary) -> 
	{_Binary,Data1} = lib_protocol:from_binary(Binary,{list,jinhua_card_info_from_binary}),
	#pt_jinhua_card_info{
		jinhua_card_info = Data1
	}.

to_binary(Pt) -> to_binary(Pt,0).
to_binary(Pt,Seq) -> 
	Data1 = lib_protocol:to_binary(Pt#pt_jinhua_card_info.jinhua_card_info,{list,jinhua_card_info_to_binary}),
	GetData = <<Data1/binary>>,
	lib_protocol:make_pt(GetData,get_id(),Seq).

